package cn.cool.springframework.test.bean;

import cn.cool.springframework.beans.BeansException;
import cn.cool.springframework.beans.factory.*;
import cn.cool.springframework.context.ApplicationContext;
import cn.cool.springframework.context.ApplicationContextAware;
import lombok.Data;

@Data
public class UserService {

    private String uId;
    private String company;
    private String location;
    private UserDao userDao;

    public String queryUserInfo() {
        return userDao.queryUserName(uId) + "," + company + "," + location;
    }

    // ...get/set
}
